/*
 * @Author: C.
 * @Date: 2023-03-06 11:43:01
 */
// import { localeSetting } from '/@/settings/localeSetting';
import { toRaw } from 'vue';
import { useLocaleStoreWithOut } from '/@/store/modules/locale';
import { i18n } from '/@/locales/setupI18n';
export function useLang() {
  const localeStore = useLocaleStoreWithOut();
  const locale = localeStore.getLocale;
  const langMap = toRaw(i18n.global.getLocaleMessage(locale));
  return {
    langMap,
  };
}
